class OrderMailer < ActionMailer::Base
  

  def sent(user, issue, url) #sent_at = Time.now
    subject    '来自RM的通知'
    recipients user.email
    from       'jira@mikimobile.com'
    sent_on    Time.now
    
    body        :user => user, :issue => issue, :url => url
  end

  def reopen(user, issue, url) #sent_at = Time.now
    subject    '来自RM的通知'
    recipients user.email
    from       'jira@mikimobile.com'
    sent_on    Time.now

    body        :user => user, :issue => issue, :url => url
  end

  def req(user, req, url) #sent_at = Time.now
    subject    '来自RM的通知'
    recipients user.email
    from       'jira@mikimobile.com'
    sent_on    Time.now
    
    body        :user => user, :req => req, :url => url
  end

end
